From 94202e63395ba591949c4c0218fd8cf6fc3a2b69 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Wed, 6 May 2020 21:19:52 +0200 Subject: [PATCH] CI: use bash style variable expansion for the mingw cache key It doesn't understand the powershell syntax which leads to the cache key being empty which leads to cache restore being skipped which leads to slow builds not using ccache. See https://gitlab.com/gitlab-org/gitlab-runner/-/issues/2747 --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8a80b60435..b228e9c657 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -104,7 +104,7 @@ release-build: - C:\msys64\usr\bin\pacman --noconfirm -Syyuu - C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/test-msys2.sh" cache: - key: "${env:CI_JOB_NAME}" + key: "$CI_JOB_NAME" <<: *cache-paths msys2-mingw32: -- 2.30.2